package com.file.manage.infrastructure.base.dto.base;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: BaseDTO
 * @author: hsy
 * @date: 2022/5/30 16:48
 * @description:
 */
@Data
@Schema(title = "基础DTO")
public class BaseDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "id")
    private String id;

    @Schema(title = "创建人")
    private String createdBy;

    @Schema(title = "创建人名称")
    private String createdByName;

    @Schema(title = "创建时间")
    private Date createdTime;

    @Schema(title = "更新人")
    private String updatedBy;

    @Schema(title = "更新人名称")
    private String updatedByName;

    @Schema(title = "更新时间")
    private Date updatedTime;

    @Schema(title = "是否删除")
    private Integer deleted;
}
